package com.example.demo.entity.Pick;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class PickDTO {
    //工序
    private String wpCode;
    //工序中文
    private String wpName;
    //车间任务单号
    private String productBillNo;
    //ERP物料编号
    private String standardCode;
    //物料编号
    private String goodsCode;
    //物料名称
    private String goodsName;
    //图号-版本/规格
    private String designNumberVerSpec;
    //可领料数量
    private BigDecimal canTakeQty;
    //可申请备料数量
    private BigDecimal canApplyStockQty;
    //申请备料数量
    private BigDecimal qty;
    //库位
    //库位编号
    private String workingAreaCode;
    //库位中心编号
    private String workingCenterCode;
    //库位最终存放位置
    private String waLocationName;
    //库位名称
    private String workingAreaName;
    //现存量
    private BigDecimal onHandQty;

    public PickDTO(String wpCode, String wpName,String productBillNo, String standardCode, String goodsCode, String goodsName, String designNumberVerSpec, BigDecimal canTakeQty, BigDecimal canApplyStockQty, BigDecimal qty) {
        this.wpCode = wpCode;
        this.wpName = wpName;
        this.productBillNo = productBillNo;
        this.standardCode = standardCode;
        this.goodsCode = goodsCode;
        this.goodsName = goodsName;
        this.designNumberVerSpec = designNumberVerSpec;
        this.canTakeQty = canTakeQty;
        this.canApplyStockQty = canApplyStockQty;
        this.qty = qty;
    }
}
